<include file="Public/head" />
</head>
<include file="Public/common_header" />
<div class="mian">
    <include file="Public/sidebar"  menu="nrgl.tsjy" />

    <div class="mianR">
        <h3 class="yonghu">投诉建议</h3>
        <div class="feedback_info" style="margin-top:10px;">
            <table class="table table-bordered">
                <tr>
                    <td width="15%">车商联系人：{$feedback.contact_person}</td>
                    <td width="25%">联系人电话：{$feedback.contact_mobile}</td>
                    <td width="30%">车商公司全称：{$feedback.fullname}</td>
                    <td width="30%">提交时间：{$feedback.createtime}</td>
                </tr>
                <tr>
                    <td>内容：</td><td colspan="3">{$feedback.desc}</td>
                </tr>
<!--                <tr>
                    <td>回复：</td>
                    <td colspan="3">
                        <form id='replayForm'>
                            <input type='hidden' name='df_id' value='{$feedback.df_id}'>
                            <textarea name='reply_mark' style='width:100%;font-size:12px;text-indent:2em;resize:none;border:1px solid #ddd;' rows='6' ><if condition="$feedback[mark] neq ''">{$feedback.mark|trim}</if></textarea>
                        </form>
                    </td>
                </tr>-->
            </table>
        </div>
        <div class="yongBtn">
<!--            <input class="queding" type='button' name='reply_feedback' value='确定' />-->
            <input class="quxiao" type="button" onclick='location = "{:U('DealerFeedBack/index')}"' value="返回" />
        </div>
    </div>
    <div class="clear"></div>
    <script type='text/javascript'>
        $("input[name='reply_feedback']").on("click",function(){
            var btn_obj = $(this);
            var post_data = $("#replayForm").serialize();
            btn_obj.val("提交中...").attr("disabled", 'disabled');
            $.post("{:U('DealerFeedBack/reply_post')}", post_data, function (data) {
                if (data.code != 200) {
                    shibai_alert(data.msg, 1500);
                    btn_obj.val("确定").removeAttr("disabled style");
                    return false;
                }
                btn_alert("回复成功", 1500, function () {
                    location.href = "{:U('DealerFeedBack/index')}";
                });
            }, "json"); 
        });
    </script>
    <include file="Public/foot" />